/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.SchedulesDTO;
import java.util.ArrayList;

/**
 *
 * @author anhtuan
 */
public interface SchedulesInterface {

    ArrayList<SchedulesDTO> readByAll();

    SchedulesDTO findById(int id);

    ArrayList<SchedulesDTO> findByTourId(int id);

    ArrayList<SchedulesDTO> findByLocationId(int id);

    ArrayList<SchedulesDTO> findByDTO(SchedulesDTO dto);

    boolean create(SchedulesDTO dto);

    boolean update(SchedulesDTO dto);

    boolean delete(int id);

    boolean delete(SchedulesDTO dto);
}
